package com.ruoyi.jypc.service;

import java.util.List;
import com.ruoyi.jypc.domain.Department;

/**
 * 系部信息Service接口
 * 
 * @author Anthony
 * @date 2022-10-17
 */
public interface IDepartmentService 
{
    /**
     * 查询系部信息
     * 
     * @param departmentid 系部信息主键
     * @return 系部信息
     */
    public Department selectDepartmentByDepartmentid(String departmentid);

    /**
     * 根据系部名称查询系部信息
     *
     * @param departmentname 系部信息
     * @return 系部信息
     */
    public Department selectDepartmentByDepartmentName(String departmentname);

    /**
     * 查询系部信息列表
     * 
     * @param department 系部信息
     * @return 系部信息集合
     */
    public List<Department> selectDepartmentList(Department department);

    /**
     * 查询系部信息列表
     *
     * @return 系部信息集合
     */
    public List<Department> selectDepartmentListAll();

    /**
     * 新增系部信息
     * 
     * @param department 系部信息
     * @return 结果
     */
    public int insertDepartment(Department department);

    /**
     * 修改系部信息
     * 
     * @param department 系部信息
     * @return 结果
     */
    public int updateDepartment(Department department);

    /**
     * 批量删除系部信息
     * 
     * @param departmentids 需要删除的系部信息主键集合
     * @return 结果
     */
    public int deleteDepartmentByDepartmentids(String[] departmentids);

    /**
     * 删除系部信息信息
     * 
     * @param departmentid 系部信息主键
     * @return 结果
     */
    public int deleteDepartmentByDepartmentid(String departmentid);
}
